﻿<%@ Page language="c#" Codebehind="PrintForm.aspx.cs" AutoEventWireup="false" Inherits="BEGDC.CC.Web.UserControls.ESCCV.PrintForm" %>
<%@ OutputCache Location="None" %>
<%@ Register TagPrefix="uc1" TagName="ESCCVCtrl" Src="ESCCVPrintCtrl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="StampCtrl" Src="../../Common/StampCtrl.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Print Form</title>
		<base target="_self">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	<%--	<LINK href="../../css/form.css" type="text/css" rel="stylesheet">
		<LINK href="../../css/style.css" type="text/css" rel="stylesheet">--%>
		<link href="../../css/global.css" rel="stylesheet" type="text/css" />
        <link href="../../css/flow.css" rel="stylesheet" type="text/css" />
        <link href="../../css/footer.css" rel="stylesheet" type="text/css" />
        <link href="../../css/style_fu.css" rel="stylesheet" type="text/css" />

        <script src="../../js/jquery-1.4.4.min.js" type="text/javascript"></script>

        <script src="../../js/common.js" type="text/javascript"></script>
        <script language="javascript">
            function PrintApplication() {
                printDiv.style.display = 'none';
                window.print();
                printDiv.style.display = 'block';
            }

            function doPrint() {
                //bdhtml=window.document.body.innerHTML; 
                //sprnstr="<!--startprint-->"; 
                //eprnstr="<!--endprint-->"; 
                //prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17); 
                //prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr)); 
                //window.document.body.innerHTML=prnhtml; 
                window.print();
            }
        </script>
	</HEAD>

	<body style="background:white;">
		<form id="Form1" method="post" runat="server">
			<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
				<!--DWLayoutTable-->
				<tr>
					<td width="10%" height="20" valign="top"><!--DWLayoutEmptyCell--> &nbsp;</td>
					<td align="center" valign=middle>
					   <div class="noPrint">
					   <img src="../../images/PrintIcon.gif" check=false alt="打印" onclick="doPrint();" style="cursor:hand"><br>
					   Click to print this application (点击打印申请单)
					   </div>
					</td>
					<td width="10%" height="20" valign="top"><!--DWLayoutEmptyCell--> &nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="3">
						<table width="100%" border="0" cellpadding="0" cellspacing="0">
							<!--DWLayoutTable-->
							<tr>
								<td width="10%" height="20" valign="top"><!--DWLayoutEmptyCell--> &nbsp;</td>
								<td width="80%" height="20" valign="top"><!--DWLayoutEmptyCell--> &nbsp;</td>
								<td width="10%" height="20" valign="top"><!--DWLayoutEmptyCell--> &nbsp;</td>
							</tr>
							<tr>
								<td><!--DWLayoutEmptyCell--> &nbsp;</td>
								<td valign="top">
									<uc1:ESCCVCtrl id="uclESCCV" runat="server"></uc1:ESCCVCtrl>
								</td>
								<td><!--DWLayoutEmptyCell--> &nbsp;</td>
							</tr>
						</table>
					</td>
				</tr>
				<!--endprint-->
			</table>
		</form>
	</body>
</HTML>



